package cn.net.csit.platform_cloud.basicmodel.domain;

import java.util.UUID;

public class BasicObjInstanceDomain {
    private String uuid=UUID.randomUUID().toString();

    private String objInstanceCode;

    private String objInstanceName;

    private String objParentInstanceUuid;

    private String objInstanceDesc;

    public BasicObjInstanceDomain(String uuid, String objInstanceCode, String objInstanceName, String objParentInstanceUuid, String objInstanceDesc) {
        this.uuid = uuid;
        this.objInstanceCode = objInstanceCode;
        this.objInstanceName = objInstanceName;
        this.objParentInstanceUuid = objParentInstanceUuid;
        this.objInstanceDesc = objInstanceDesc;
    }

    public BasicObjInstanceDomain() {
        super();
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }

    public String getObjInstanceCode() {
        return objInstanceCode;
    }

    public void setObjInstanceCode(String objInstanceCode) {
        this.objInstanceCode = objInstanceCode == null ? null : objInstanceCode.trim();
    }

    public String getObjInstanceName() {
        return objInstanceName;
    }

    public void setObjInstanceName(String objInstanceName) {
        this.objInstanceName = objInstanceName == null ? null : objInstanceName.trim();
    }

    public String getObjParentInstanceUuid() {
        return objParentInstanceUuid;
    }

    public void setObjParentInstanceUuid(String objParentInstanceUuid) {
        this.objParentInstanceUuid = objParentInstanceUuid == null ? null : objParentInstanceUuid.trim();
    }

    public String getObjInstanceDesc() {
        return objInstanceDesc;
    }

    public void setObjInstanceDesc(String objInstanceDesc) {
        this.objInstanceDesc = objInstanceDesc == null ? null : objInstanceDesc.trim();
    }
}